<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- start: include -->
		<!-- start: include jquery & jquery ui -->
		<link type="text/css" href="{$SITE_URL}/public/jquery-ui-1.8.16/css/ui-lightness/jquery-ui-1.8.16.custom.css" rel="stylesheet" />	
		<script type="text/javascript" src="{$SITE_URL}/public/jquery-ui-1.8.16/js/jquery-1.6.2.min.js"></script>
		<script type="text/javascript" src="{$SITE_URL}/public/jquery-ui-1.8.16/js/jquery-ui-1.8.16.custom.min.js"></script>
        <script type="text/javascript" src="{$SITE_URL}/public/jquery-ui-1.8.16/jquery-ui-timepicker-addon.js"></script>
        <style>
        	/* css for timepicker http://trentrichardson.com/examples/timepicker/ */
			.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
			.ui-timepicker-div dl { text-align: left; }
			.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
			.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
			.ui-timepicker-div td { font-size: 90%; }
			.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
        </style>
        <!-- end:   include jquery & jquery ui -->
        <!-- start: include super-fish menu jquery plugin -->
        <link type="text/css" href="{$SITE_URL}/public/superfish-1.4.8/css/superfish.css" rel="stylesheet" />	
		<script type="text/javascript" src="{$SITE_URL}/public/superfish-1.4.8/js/superfish.js"></script>
        <!-- end: include super-fish menu jquery plugin -->
        
        
        <!-- start: include jack's css & js -->
        <link type="text/css" href="{$SITE_URL}/public/jack/foradmin/css/common.css" rel="stylesheet" />
        <!-- end:   include jack's css & js -->
<!-- end: include -->

<!-- start: inline -->
<script>
$(document).ready(function(){
        <!-- start: include jack's inline css & js -->
		//http://www.chhua.com/web-note980
        $("ul.sf-menu").superfish({
		   hoverClass:    'sfHover',  //当鼠标掠过时的class
		   pathClass:     'overideThisToUse', // 激活的菜单项的class
		   pathLevels:    1,       // 菜单级数
		   delay:         300,       // 下拉菜单在鼠标离开时自动隐藏时间。默认是800毫秒
		   animation:     {opacity:'show'},  // 动画效果，参考Jquery的动画jQuery's .animate()
		   speed:         'normal',    // 动画速度， 参考Jquery的动画jQuery's .animate()
		   dropShadows:   true,     // 阴影效果，关闭用'false'
		   onInit:        function(){},   // 初始化的回调函数
		   onBeforeShow:  function(){}, // 子菜单显示前回调函数
		   onShow:        function(){},  // 子菜单显示时回调函数
		   onHide:        function(){}   // 子菜单隐藏时回调函数
		});
        <!-- end: include jack's inline css & js -->
});
</script>
<!-- end: inline -->
        
<title>{$msg.title}</title>
</head>
<body>

<div id="header">
	<div id="header_left"><img src="{$SITE_URL}/public/jack/foradmin/images/logo.jpg" /></div>
    <div id="header_right">
        <div id="header_right_control">Welcome back, {$user.user_name} / <a href="{$SITE_URL}/admin.php?s=Public/logout">Logout</a> 
        </div>
        <div id="header_right_menu">
            <ul class="sf-menu">
            	<li><a href="{$SITE_URL}/admin.php">Dashboard</a></li>
                <li class="current">
                    <a href="{$SITE_URL}/admin.php?s=Product/index">Product</a>
                    <ul>
                    	<li class="current"><a href="{$SITE_URL}/admin.php?s=Productscategory/index">List Category</a></li>
                        <li><a href="{$SITE_URL}/admin.php?s=Productscategory/add">Add Category</a></li>
                        <li class="current"><a href="{$SITE_URL}/admin.php?s=Product/index">List Product</a></li>
                        <li><a href="{$SITE_URL}/admin.php?s=Product/add">Add New Product</a></li>
                    </ul>
                </li>
                <li class="current">
                    <a href="{$SITE_URL}/admin.php?s=Page/index">Page</a>
                    <ul>
                        <li class="current"><a href="{$SITE_URL}/admin.php?s=Page/index">List Pages</a></li>
                        <li><a href="{$SITE_URL}/admin.php?s=Page/add">Add New Page</a></li>
                    </ul>
                </li>
                <li class="current">
                    <a href="{$SITE_URL}/admin.php?s=Post/index">Post</a>
                    <ul>
                    	<li class="current"><a href="{$SITE_URL}/admin.php/Postcategory/index">List Category</a></li>
                        <li><a href="{$SITE_URL}/admin.php/Postcategory/add">Add Category</a></li>
                        <li class="current"><a href="{$SITE_URL}/admin.php/Post/index">List Post</a></li>
                        <li><a href="{$SITE_URL}/admin.php/Post/add">Add New Post</a></li>
                    </ul>
                </li>
                <li class="current">
                    <a href="{$SITE_URL}/admin.php?s=Ads/index">Ads</a>
                    <ul>
                    	<li class="current"><a href="{$SITE_URL}/admin.php/Ads/index">List Ads</a></li>
                        <li><a href="{$SITE_URL}/admin.php/Ads/add">Add Ads</a></li>
                    </ul>
                </li>
                <li class="current">
                    <a href="#">System</a>
                    <ul>
                        <li class="current">
                        	<a href="{$SITE_URL}/admin.php/User/index">User<span class="menu_arrow_right"></span></a>
                        	<ul>
                            	<li><a href="{$SITE_URL}/admin.php/User/index">List Users</a></li>
                                <li><a href="{$SITE_URL}/admin.php/User/add">Add New User</a></li>
                            </ul>
                        </li>
                    </ul>
                </li>
                <li>
                			<a href="{$SITE_URL}/biz.php">Go To biz account(for test only)</a>
                </li>
                 <li>
                			<a href="{$SITE_URL}">Go To Index(for test only)</a>
                </li>
            </ul>
        </div>
    </div>
    
</div>
<div id="info" class="{$msg.info.class}">{$msg.info.text}</div>
<div id="wrapper">